//
//  YCZBCell.m
//  LOLBox
//
//  Created by mac on 15-4-9.
//  Copyright (c) 2015年 Honey. All rights reserved.
//

#import "YCZBCell.h"
#import "YCZBModel.h"

@interface YCZBCell ()
@property (weak, nonatomic) IBOutlet UIImageView *imgView;
@property (weak, nonatomic) IBOutlet UILabel *text;

@end
@implementation YCZBCell

- (id)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        // Initialization code
    }
    return self;
}
- (void)fillCellWithModel:(YCZBModel *)mode
{
    self.imgView.image = [UIImage imageNamed:mode.Id];
    self.text.text = mode.text;
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect
{
    // Drawing code
}
*/

@end
